package com.waitingresult.zuo;

/**
 * @Author: WangShuai
 * @CreateTime: 2024-06-21  19:42
 * @Description:
 * @Version: 1.0
 */
public class XOR {

    public static void main(String[] args) {
        int[] arr = {3, 3, 3, 1, 3, 2, 2, 2, 2, 1, 1, 1, 1};
        int eor = 0;
        for (int i : arr) {
            eor ^= i;
        }
        System.err.println(eor);
    }
}
